﻿using UnityEngine;
using System.Collections;

public class LevelLight : MonoBehaviour {
    public static LevelLight instance;
    private GameManager manager;
	void Start () {
        instance = this;
        manager = GameManager.getInstance();
        SetPosition();
	}
    public void SetPosition()
    {
        this.transform.position = GameObject.FindWithTag(manager.lastLevel.ToString()).transform.position;
        
    }
	// Update is called once per frame
	void Update () {
	
	}
}
